/**
 * 管理系统首页
 * @author liuxin
 */
Ext.onReady(function() {

	Ext.QuickTips.init();
	
	var westPanel = new Ext.tree.TreePanel({
		region: 'west',
		collapsible: true,
        title: 'Navigation',
        width: 200,
		root: new Ext.tree.AsyncTreeNode({
            expanded: true,
            children: [{
                text: 'Menu Option 1',
                leaf: true
            }, {
                text: 'Menu Option 2',
                leaf: true
            }, {
                text: 'Menu Option 3',
                leaf: true
            }]
        }),
        rootVisible: false
	});
	
	var adminIndexPort = new Ext.Viewport({
		layout: 'border',
		items: [{
			region: 'north',
			height: 80,
			html: '<center><h1>教学科研信息管理系统</h1></center>'
		},westPanel,{
			region : 'center',
			html : 'center'
		}]
	});
});